package app.caretrack.dao;

import java.util.List;

import javax.persistence.Query;

import app.caretrack.model.SysUser;

public class AlarmrDao extends BaseDao {

    public List<SysUser> select(SysUser model) {
        List<SysUser> list = null;
        Query q = this.em.createNativeQuery("READ").setParameter(1, "10001");
        list = q.getResultList();
        System.out.println(list);
        return list;
    }
}
